-
Notifications
You must be signed in to change notification settings - Fork 46
Utbot-Python refactoring #2366
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Utbot-Python refactoring #2366
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine. I think there might be some corner cases with named arguments in magic methods (it is a special case in mypy), it is probably a good idea to add some tests for that too.
I added more tests (not only for named arguments) and created script to run test generation. In future we will be able to use this script on GitHub to run tests |
Description
Refactored utbot-python test generation structure
utbot-python/samples/run_tests.py
)--do-not-generate-regression-suite
--runtime-exception-behaviour [PASS|FAIL]
How to test
Manual tests
samples/named_arguments/named_arguments.py
: tests should use named arguments (include__pow__
and__round__
methods)pytest
withTrue
/False
/None
useis
instead of==
Self-check list
Check off the item if the statement is true. Hint: [x] is a marked item.
Please do not delete the list or its items.